package com.cos.feign.api;

import com.cos.entity.OrdersEntity;
import com.cos.vo.Car;
import com.cos.vo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(name = "car" ,path = "/car")
public interface OrderFeign {

    @RequestMapping("/getCarByUidAndPid")
    public Map<String,Object> getCarByUidAndPid(@RequestParam("uid") Integer uid, @RequestParam("array") List<String> array);
    @RequestMapping("/getCarByUid")
    public Map<String,Object> getCarByUid(@RequestParam("uid") Integer uid);

}
